<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>403 Oops!</title>
    <script type="text/javascript"	src="<%=basePath%>ui/jquery/jquery-1.6.min.js"></script>
	<script type="text/javascript">
		$(function(){
			$("#center-div").center(true);
		})
		
		function cheeckTop(){
		//如果没有被iframe引用的话，则location与top.location是一样的！
		if(top.location != location){  
			parent.closeCurrentTab();  
		}else{
			history.go(-1);
		}  
	}
	</script>
</head>
<body style="margin: 0;padding: 0;background-color: #f5f5f5;">
	<div id="center-div">
		<table style="height: 100%; width: 600px; text-align: center;">
			<tr>
				<td>
				<img width="100" height="100" src="${path}/resource/images/common/error.png" style="float: left; padding-right: 20px;" alt="" />
					<h4 style="color: #FF0000; line-height: 25px; font-size: 20px; text-align: left;">403 Oops! Page Access Denied</h4>
					<h4 style="color: #FF0000; line-height: 25px; font-size: 20px; text-align: left;">错误提示：</h4>
					<p style="line-height: 25px; color: #666666; font-family: Tahoma, '宋体'; font-size: 12px; text-align: left;">
						该资源您没权限访问，请<a href="javascript:cheeckTop();">返回</a>!!!
					</p>
				</td>
			</tr>
		</table>
	</div>
</body>
</html>